package com.igeekhome.mapper;

import com.igeekhome.pojo.SerComplain;
import com.igeekhome.pojo.SerComplainExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SerComplainMapper {
    int countByExample(SerComplainExample example);

    int deleteByExample(SerComplainExample example);

    int deleteByPrimaryKey(Integer complaintOrder);

    int insert(SerComplain record);

    int insertSelective(SerComplain record);

    List<SerComplain> selectByExampleWithBLOBs(SerComplainExample example);

    List<SerComplain> selectByExample(SerComplainExample example);

    SerComplain selectByPrimaryKey(Integer complaintOrder);

    int updateByExampleSelective(@Param("record") SerComplain record, @Param("example") SerComplainExample example);

    int updateByExampleWithBLOBs(@Param("record") SerComplain record, @Param("example") SerComplainExample example);

    int updateByExample(@Param("record") SerComplain record, @Param("example") SerComplainExample example);

    int updateByPrimaryKeySelective(SerComplain record);

    int updateByPrimaryKeyWithBLOBs(SerComplain record);

    int updateByPrimaryKey(SerComplain record);
}